<template>
  <demoBlock title="基础用法">
    <vcu-tabs v-model:active="active">
      <vcu-tab title="标签 1">内容 1</vcu-tab>
      <vcu-tab title="标签 2">内容 2</vcu-tab>
      <vcu-tab title="标签 3">内容 3</vcu-tab>
      <vcu-tab title="标签 4">内容 4</vcu-tab>
    </vcu-tabs>
  </demoBlock>
</template>


<script>
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    const active = ref(3);
    return { active };
  },
});
</script>